<?php

class consumuriComponents extends sfComponents
{
    /**
     * Adaugarea/Editarea consumurilor din luna curenta
     */
    public function executeAdd(sfWebRequest $request)
    {
        $this->consumuriApartamente = ApartamentPeer::getConsumuriApartamente( App::getWorkingMonth() );
        $this->form = new ConsumuriForm();
        $this->form->request = $this->moduleName . '/xEdit';
    }

    /**
     * Lista consumurilor din lunile anterioare
     */
    public function executeOld(sfWebRequest $request)
    {

    }

}
